package com.jcloud.codetest1.domain;

import com.jcloud.codetest1.utils.MyDate;

import java.util.Date;

/**
 * @author
 * @date 2021-04-16 8:42
 */
public class RecordItem {
    //生成时间
    String genTime;
    // Y 已处理    N 未处理  U 结果未知
    String status;
    //处理时间
    String dealTime;
    //处理次数
    int dealNum;

    public RecordItem() {
        this.genTime = MyDate.getDateTime(new Date());
        this.status = "N";
        this.dealNum = 0;
    }

    public String getGenTime() {
        return genTime;
    }

    public void setGenTime(String genTime) {
        this.genTime = genTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDealTime() {
        return dealTime;
    }

    public void setDealTime(String dealTime) {
        this.dealTime = dealTime;
    }

    public int getDealNum() {
        return dealNum;
    }

    public void setDealNum(int dealNum) {
        this.dealNum = dealNum;
    }

    @Override
    public String toString() {
        return "Record{" +
                "genTime='" + genTime + '\'' +
                ", status='" + status + '\'' +
                ", dealTime='" + dealTime + '\'' +
                ", dealNum=" + dealNum +
                '}';
    }
}
